﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.source
{
    public partial class SourceContent : BagePages
    {
        public hf.Model.Source model = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (this.GetQuery("id") != "")
                {
                    int id = int.Parse(this.GetQuery("id"));
                    model = SourceController.getController().getSourceModel(id);
                }
                else {
                    Response.Write("参数错误");
                    Response.End();
                }
            }
        }
    }
}